<?php
function get_super($id){
		$dbconn=pg_connect("host=192.168.1.110 port=5432 user=sigelabp password=s1g3l4B dbname=sigelab");
		$res = pg_query("SELECT * FROM personal WHERE UPPER(nombre) LIKE UPPER('%$id%') OR UPPER(apellido) LIKE UPPER('%$id%')");
		$tabla = NULL;
		$tabla  = pg_fetch_all($res);
    	return $tabla;
}

?>